import request from '@/utils/request';

export const uploadFile = data => {
    return request.post(`/sys/uploadFile/upload`, data);
};

//上传人脸识别结果返回地址
export const uploadDetectFile = data=>{
    return request.post(`/sys/uploadFile/uploadAndDetect`,data)
}

//更新人脸识别图片
export const updatePicture = (id,data)=>{
    return request.post(`/sys/uploadFile/faceUpdate?id=${id}`,data)
}